package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * https://api.renxinhua.cn/apiflow/channel/registerUser
 * </p>
 *
 * @author 
 * @since 2022-12-12
 */
@Getter
@Setter
@TableName("ml_form_info_profit")
public class FormInfoProfit implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String infoName;

    private Integer infoId;

    private String dateInfo;

    /**
     * 收益金额
     */
    private BigDecimal profitAmount;

    /**
     * 均价
     */
    private BigDecimal avgAmount;

    /**
     * 总流量
     */
    private Integer totalNumber;

    /**
     * 过筛失败的量
     */
    private Integer filterErrorNumber;

    /**
     * 撞库失败的量
     */
    private Integer matchErrorNumber;

    private Integer waitConfirmNumber;

    /**
     * 推送成功的量
     */
    private Integer pushSuccessNumber;

    /**
     * 推送失败量
     */
    private Integer pushErrorNumber;


    private Integer timeoutNumber;


      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
